﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/OneColumn.Master" AutoEventWireup="true"
    CodeBehind="CheckoutPaymentMethod.aspx.cs" Inherits="CS424_9pts.CheckoutPaymentMethod" %>

<%@ Register src="Modules/ShoppingCart.ascx" tagname="ShoppingCart" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="Server">
    <div class="checkout-page">
        <div class="order-progress">
            <ul>
                <li>
                    <asp:HyperLink runat="server" ID="hlCart" Text="Cart" CssClass="active-step" NavigateUrl="~/ShoppingCart.aspx">
                    </asp:HyperLink></li>
                <li>
                    <asp:HyperLink runat="server" ID="hlAddress" Text="Address" CssClass="active-step"
                        NavigateUrl="~/CheckoutshippingAddress.aspx">
                    </asp:HyperLink></li>
                <li>
                    <asp:HyperLink runat="server" ID="hlShipping" Text="Shipping" CssClass="active-step"
                        NavigateUrl="~/CheckoutShippingMethod.aspx">
                    </asp:HyperLink></li>
                <li>
                    <asp:HyperLink runat="server" ID="hlPayment" Text="Payment" CssClass="active-step"
                        NavigateUrl="~/CheckoutPaymentMethod.aspx">
                    </asp:HyperLink></li>
                <li>
                    <asp:HyperLink runat="server" ID="hlConfirm" Text="Confirm" CssClass="inactive-step">
                    </asp:HyperLink></li>
                <li>
                    <asp:HyperLink runat="server" ID="hlComplete" Text="Complete" CssClass="inactive-step">
                    </asp:HyperLink></li>
            </ul>
        </div>
        <div class="clear">
        </div>
        <div class="page-title">
            <h1>
                Select PaymentMethod</h1>
        </div>
        <div class="clear">
        </div>
        <div class="checkout-data">
            <div class="payment-methods">
            <asp:PlaceHolder runat="server" ID="phSelectPaymentMethod">
                <asp:RadioButtonList ID="RadioButtonList1" runat="server">
                    <asp:ListItem Value="0">Credit Card</asp:ListItem>
                    <asp:ListItem Value="1">Cash On Delivery</asp:ListItem>
                    <asp:ListItem Value="2">Pay In Store</asp:ListItem>
                </asp:RadioButtonList>
               
                
                <div class="clear">
                </div>
                <div class="select-button">
                    <asp:Button runat="server" ID="btnNextStep" Text="Next"
                        OnClick="btnNextStep_Click" CssClass="paymentmethodnextstepbutton" ValidationGroup="SelectPaymentMethod" />
                </div>
            </asp:PlaceHolder>
            <div class="clear">
            </div>
            <asp:Panel runat="server" ID="pnlPaymentMethodsError" Visible="false" CssClass="error-block">
                <div class="message-error">
                    <asp:Label runat="server" ID="lPaymentMethodsError"></asp:Label>
                </div>
            </asp:Panel>
        </div>
        </div>
        <div class="clear">
        </div>
        <div class="order-summary-title">
            Order summary
        </div>
        <div class="clear">
        </div>
        <div class="order-summary-body">
            <asp:Panel class="order-summary-content" runat="server" ID="pnlCart">
                <asp:Panel runat="server" ID="pnlCommonWarnings" CssClass="warning-box" EnableViewState="false"
                    Visible="false">
                  
                    <asp:Label runat="server" ID="lblCommonWarning" CssClass="warning-text" EnableViewState="false"
                        Visible="false"></asp:Label>
                </asp:Panel>
                <table class="cart">
                    <uc1:ShoppingCart ID="ShoppingCart1" runat="server" />
                </table>
                <div class="clear">
                </div>
                <div class="selected-checkout-attributes">
                </div>
                <div class="clear">
                </div>
                <div class="clear">
                </div>
                <div class="totals">
                    <div class="total-info">
                        <table class="cart-total">
                            <tbody>
                                <tr>
                                    <td class="cart_total_left">
                                        <strong><span style="white-space: nowrap;">Sub-Total:</span></strong>
                                    </td>
                                    <td class="cart_total_right">
                                        <span style="white-space: nowrap;">
                                            <asp:Label ID="lblSubTotalAmount" runat="server" CssClass="productPrice" />
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="cart_total_right">
                                        <span style="white-space: nowrap;">
                                            <asp:Label ID="lblTotalAmount" runat="server" CssClass="productPrice" />
                                        </span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="clear">
                </div>
                <div class="clear">
                </div>
            </asp:Panel>
        </div>
    </div>
</asp:Content>
